package com.example.lab.service.impl;

import com.example.lab.dao.LabVoDao;
import com.example.lab.entity.Lab1;
import com.example.lab.entity.LabVo;
import com.example.lab.service.LabVoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("labVoService")
public class LabVoServiceImpl implements LabVoService {
@Resource
private LabVoDao labVoDao;
    @Override
    public List<LabVo> queryAll(Integer page, Integer limit, LabVo labVo) {
        return labVoDao.queryAll(page, limit, labVo);
    }

    @Override
    public Long getCount() {
        return labVoDao.getCount();
    }
}
